<#macro person>
<!--顶部-->
<div class="header">
    <div class="container cf">
        <select class="header-left">
            <option>中文</option>
            <option>英文</option>
        </select>

        <#if mobile??>
            <div class="login">
                <span>Hi~欢迎${mobile!}的到来！</span>
                <a href="/user/loginOut">注销</a>
                <input type="hidden" value="${mobile}" id="mobile">
                <input type="hidden" value="${userId}" id="userId">
            </div>
        <#else>
            <div class="login">
                <span>Hi~欢迎您的到来！</span>
                <a class="red" href="/login">请登录</a>
                <a href="/register">免费注册</a>
            </div>
        </#if>


        <ul class="header-right">
            <li class="shouji bj">
                <a href="/user/center">个人中心</a>
                <div class="shouji1 w100">
                    <a href="/cart/goCart">购物车</a></br>
                    <a href="/user/order">我的订单</a></br>
                    <a href="/user/favoriteGoods">我的收藏</a></br>
                </div>
            </li>
            <li class="shu"></li>
            <li>
                <a href="/cart/goCart">购物车</a>
            </li>
            <li class="shu"></li>
            <li>
                <a href="#">帮助中心</a>
            </li>
            <li class="shu"></li>
            <li>
                <a class="ing_ps ps2" href="#">卖家中心</a>
            </li>
            <li class="shu"></li>
            <li class="shouji bj">
                <span>关注商城</span>
                <div class="shouji1">
                    <img src="img/mb_wangid.png">
                    <p>关注微信公众号</p>
                </div>
            </li>
        </ul>
    </div>
</div>
</#macro>
<#macro headmiddle>
<div class="header_fixed">
    <div class="container cf">
        <!--logo-->
        <div class="logohd">
            <div class="logo">
                <a href="/index">
                    <img src="img/logo.png"/>
                </a>
            </div>
        </div>
        <!--搜索-->
        <div id="search" class="">
            <div class="search-m">
                <div class="search_logo">
                    <a href="/index">
                        <img src="/static/img/logo.png"/>
                    </a>
                </div>
                <form class="search">
                    <div class="form">
                        <input type="text" placeholder="关键字"/>
                        <button type="submit" class="button">
                            <i class="iconfont">&#xe616;</i>
                        </button>
                    </div>
                </form>
                <div class="header-cata">
                    <a href="/cart/goCart"><i class="icon iconfont">&#xe698;</i>购物车
                        <span>
                            <#if  shoppingCartGoodCount??>
                            ${shoppingCartGoodCount}
                            <#else>
                                0
                            </#if>
                        </span>
                    </a>
                </div>
            </div>
        </div>
        <!--购物车-->
        <div class="header-cata">
            <a href="/cart/goCart"><i class="iconfont">&#xe698;</i>购物车
                <span>
                    <#if  shoppingCartGoodCount??>
                    ${shoppingCartGoodCount}
                    <#else>
                        0
                    </#if>
                </span>
            </a>
        </div>
    </div>
</div>
</#macro>
<#macro navigation>
<!--导航-->
<div class="nav">
    <div class="container cf">
        <div class="nav_drop">
            <a href="" target="_blank">全部分类<i class="iconfont">&#xe699;</i></a>
        </div>
        <div class="nav_list">
            <a href="#" target="_blank" class="item on">首页</a>
            <a href="#" target="_blank" class="item">每日新款</a>
            <a href="#" target="_blank" class="item">实力档口</a>
        </div>
    </div>
</div>
</#macro>
<#macro personheader>
<div class="header_fixed">
    <div class="container cf">
        <!--logo-->
        <div class="logohd">
            <div class="logo">
                <a href="/index">
                    <img src="../img/logo.png">
                </a>
            </div>
        </div>
    </div>
</div>
</#macro>